package com.qingcloud.adminbackend.pojo.dto.sysproduct;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 新增产品解码器请求DTO
 *
 * @author yangfan
 * @since 2021/11/5 17:01
 */
@Data
public class ProductDecoderDTO {

    @ApiModelProperty(value = "产品Id")
    @NotNull(message = "产品Id不能为空")
    private Integer productId;

    @ApiModelProperty(value = "解码器名称")
    @NotBlank(message = "解码器名称不能为空")
    private String name;

    @ApiModelProperty(value = "解码器英文名称")
    private String softwareName;

    @ApiModelProperty(value = "版本号")
    private String ver;

    @ApiModelProperty(value = "解码器组件ID")
    private String componentId;

}
